package com.wy.common;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2019/12/416:12
 */

public enum ErrorCode {
    OK(200,"成功"),
    ERROR1(404,"路径找不到"),
    ERROR404(404,"路径找不到"),
    ERROR400(400,"参数无法解析"),
    ERROR500(500,"系统内部错误"),
    ERRORAPI(600,"接口调用失败，启动熔断")
    ;
    public int code;

    public String errmsg;

    ErrorCode(int code, String errmsg) {
        this.code = code;
        this.errmsg = errmsg;
    }



}
